package sy.service;

import java.io.File;

import org.springframework.web.multipart.MultipartFile;

import sy.pageModel.DataGrid;
import sy.pageModel.PageHelper;
import sy.pageModel.Product;

/**
 * 产品Service
 * 
 * 
 */
public interface ProductServiceI {

	public DataGrid dataGrid(Product product, PageHelper ph);

	public void add(Product product) throws Exception;

	public Product get(String id);

	public void edit(Product product) throws Exception;

	public void delete(String id);

	//产品导入
	public String saveproductwithExcel(MultipartFile excelFile);

	

}
